package order_food_order

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ OrderFoodOrderModel = (*customOrderFoodOrderModel)(nil)

type (
	// OrderFoodOrderModel is an interface to be customized, add more methods here,
	// and implement the added methods in customOrderFoodOrderModel.
	OrderFoodOrderModel interface {
		orderFoodOrderModel
	}

	customOrderFoodOrderModel struct {
		*defaultOrderFoodOrderModel
	}
)

// NewOrderFoodOrderModel returns a model for the database table.
func NewOrderFoodOrderModel(conn sqlx.SqlConn) OrderFoodOrderModel {
	return &customOrderFoodOrderModel{
		defaultOrderFoodOrderModel: newOrderFoodOrderModel(conn),
	}
}
